package com.dxd.onlineshop.service;

import com.dxd.onlineshop.pojo.UserFeedback;
import java.util.List;

public interface UserFeedbackService {
    UserFeedback createFeedback(UserFeedback feedback);
    UserFeedback getFeedbackById(Long id);
    List<UserFeedback> getFeedbackByUserId(Integer userId);
    List<UserFeedback> getAllFeedback();
    List<UserFeedback> getFeedbackByType(UserFeedback.FeedbackType type);
    UserFeedback updateFeedback(UserFeedback feedback);
    void deleteFeedback(Long id);
    List<UserFeedback> searchFeedbackByContentAndUserId(String keyword, Integer userId);
}